package com.wisdytech.linkdcs.configuration.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author dlb
 * @since 2018-05-07
 */
@TableName("tt_eq_configuration")
public class TtEqConfiguration extends Model<TtEqConfiguration> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    /**
     * 关联的区域信息 type =1 关联厂区表  type=2 关联产线表 type=3 关联车间表
     */
    @TableField("LOCATION_ID")
    private String locationId;
    @TableField("CODE")
    private String code;
    @TableField("NAME")
    private String name;
    @TableField("JSON_FILE_ID")
    private String jsonFileId;
    @TableField("JSON_FILE_NAME")
    private String jsonFileName;
    @TableField("JSON_FILE_PATH")
    private String jsonFilePath;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("CREATE_USER")
    private String createUser;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("UPDATE_USER")
    private String updateUser;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARK")
    private String remark;
    @TableField("CENTER")
    private String center;
    @TableField("EYE")
    private String eye;
    
    /**
     * 1 厂区 2 产线 3车间
     */
    @TableField("TYPE")
    private String type;
    
    /**json文件*/
    @TableField("JSON_FILE")
    private String jsonFile;
    
    /**设备编码json*/
    @TableField("JSON_EQUIPS")
    private String jsonEquips;

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }

    public String getEye() {
        return eye;
    }

    public void setEye(String eye) {
        this.eye = eye;
    }

    public String getJsonEquips() {
		return jsonEquips;
	}

	public void setJsonEquips(String jsonEquips) {
		this.jsonEquips = jsonEquips;
	}

	public String getJsonFile() {
		return jsonFile;
	}

	public void setJsonFile(String jsonFile) {
		this.jsonFile = jsonFile;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getLocationId() {
        return locationId;
    }

    public void setLocationId(String locationId) {
        this.locationId = locationId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJsonFileId() {
        return jsonFileId;
    }

    public void setJsonFileId(String jsonFileId) {
        this.jsonFileId = jsonFileId;
    }

    public String getJsonFileName() {
        return jsonFileName;
    }

    public void setJsonFileName(String jsonFileName) {
        this.jsonFileName = jsonFileName;
    }

    public String getJsonFilePath() {
        return jsonFilePath;
    }

    public void setJsonFilePath(String jsonFilePath) {
        this.jsonFilePath = jsonFilePath;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "TtEqConfiguration{" +
        ", pkId=" + pkId +
        ", locationId=" + locationId +
        ", code=" + code +
        ", name=" + name +
        ", jsonFileId=" + jsonFileId +
        ", jsonFileName=" + jsonFileName +
        ", jsonFilePath=" + jsonFilePath +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        ", type=" + type +
        "}";
    }
}
